#pragma once

#include "CustomMesh.h"
#include "Sprite.h"
class Enemies
	: public CustomMesh
{
public:
	Enemies();
	~Enemies();
	//public functions
	void Update(double dt);
	void Draw(ID3DXSprite& sprite, D3DXMATRIX& view, D3DXMATRIX& proj);
	//public variables
	D3DXVECTOR3 mPosition = D3DXVECTOR3(0, 0, 0);
	D3DXVECTOR3 GetPosition();
	//protected functions
protected:
	void BuildVertexBuffer();
	void BuildIndexBuffer();
	
private:
	//float mAngle;
	float mVelocity = 20.0f;
	static const int NB_VERTICES = 8;
	static const int NB_FACES = 12;

};
